<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Image in html</title>
    </head>
    <body>
        <h1>Images in HTML</h1>
        <figure>
            <img src="dinosaur.jpg" alt="The head and torso of a dinosaur skeleton;it has a large head with long sharp teeth" title="dinosaur" width="400" height="341">
            <figcaption style="text-align: center">dinosaur</figcaption>
        </figure>
    </body>
</html>